Missing field 'events' while calling PDGA API endpoint: event
API response:
{
"status": 1
}
Traceback
File "/home/ubuntu/django_project/dgf/management/commands/fetch_pdga_data.py", line 20, in update_friend
pdga.update_friend_tournaments(friend, pdga_api)
File "/home/ubuntu/django_project/dgf/pdga/main.py", line 14, in update_friend_tournaments
update_tournament_results(pdga_api, friend, player_page_soup)
File "/home/ubuntu/django_project/dgf/pdga/results.py", line 50, in update_tournament_results
add_tournament_results(pdga_api, friend, link)
File "/home/ubuntu/django_project/dgf/pdga/results.py", line 43, in add_tournament_results
tournament = add_tournament(pdga_api, pdga_id=tournament_id)
File "/home/ubuntu/django_project/dgf/pdga/common.py", line 28, in add_tournament
pdga_tournament = pdga_api.get_event(tournament_id=pdga_id)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 142, in get_event
raise_pdga_api_error(endpoint='event', requested_id=tournament_id,
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 25, in raise_pdga_api_error
raise PdgaApiError(title, body)
dgf.pdga.api.PdgaApiError: ("Missing field 'events' while calling PDGA API endpoint: event", 'API response:\n\n{\n "status": 1\n}\n')
PdgaApiError
API response:
Traceback
dgf.pdga.api.PdgaApiError: ("Missing field 'events' while calling PDGA API endpoint: event", 'API response:\n
\n{\n "status": 1\n}\n
')