Error on step 3 Lab1

Error on step 3 Lab1

di MUSTAPHA COLLEY -
Numero di risposte: 4

Hi guys, does anyone encounter such an issue? if yes how did you solve it?

I have attachedError on step 3 lab1 the screenshot of the error 

In riposta a MUSTAPHA COLLEY

Re: Error on step 3 Lab1

di AZAR BAGHERI ZIDEH SARAEI -
Have you tried to change the date maybe? Because the date in the screenshot is for November, now we are in December
2022-12-08T01:05:00Z
In riposta a MUSTAPHA COLLEY

Re: Error on step 3 Lab1

di ALINA SKRYLNIK -

Our group faces the same problem, and it remains even with the academic access token and the different link of the endpoint. 

Do we need to additionally change the settings in the developer profile or is it just the code that should be corrected?

Allegato Screenshot 2022-12-19 at 15.24.37.png
In riposta a ALINA SKRYLNIK

Re: Error on step 3 Lab1

di Lejla Dzanko -
You are using the wrong endpoint. The counts endpoint only returns the number of tweets for that query and has different request fields. Please read the documentation, this is the end point you need: https://developer.twitter.com/en/docs/twitter-api/tweets/search/api-reference/get-tweets-search-all#Optional

Additionally, the error message can tell you a lot about what went wrong. If it is something we haven't encountered you can Google it and find an answer quickly.