I'm trying to access venue menu in venues endpoint of foursquare API through:
https://api.foursquare.com/v2/venues/40a55d80f964a52020f31ee3/menu&client_id=XXXX&client_secret=YYYY&v=20150115
But it is returning me an error:
{"meta":{"code":400,"errorType":"invalid_auth","errorDetail":"Missing access credentials. See https:\/\/developer.foursquare.com\/docs\/oauth.html for details."},"response":{}}
Although foursquare documentation says:
please help.
I found out the answer. Its simple I was missing a query ?parameter.
The URL should be:
https://api.foursquare.com/v2/venues/40a55d80f964a52020f31ee3/menu?client_id=XXXX&client_secret=YYYY&v=20150115
This works!
Related
In 'Autodesk Construction Cloud APIs' I try to use GET method for projects/{projectId}/issues.
This is the documentation for the API: Get issues API Link
I am using Postman and for other API's it works without problems, but for some reason for this API I got the following error:
image of the error:
I know my ProjectId and Token are fine. I am wondering if it has to do with some access the admin must to give me.
best regards,
It looks like your access token is 2-legged. Instead, you will need to use a 3-legged one since its Authentication Context is user context required.
See:
https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/basics/
https://forge.autodesk.com/en/docs/oauth/v2/tutorials/get-3-legged-token/
https://forge.autodesk.com/en/docs/oauth/v2/tutorials/get-3-legged-token-implicit/
Im trying to find the structure of the request url that i can send an http post/get requests to but can't seem to find it anywhere?
Can someone help please, I'm new with using AC?
Many thanks!
In ActiveCollab Cloud accounts, if you would like to query a list of projects, you would GET a /projects resource, and it's available at:
https://app.activecollab.com/#ACCOUNT-ID#/api/v1/projects
#ACCOUNT-ID# is ID of your Cloud account.
What is the procedure to follow for google street view publish. Is google cloud service required?
When I tried, is returned me status Unauthorized
I tried to find an answer here already, on StackOverflow, but all are not clear. Please guide me.
This error means that the your access token is missing or incorrect. Make sure the http header contains a valid token like
authorization: Bearer YOUR_ACCESS_TOKEN
You can find out more in Google's OAuth2 documentation:
https://developers.google.com/identity/protocols/OAuth2
I want to get the web search results in XML or JSON format, so I'm trying Custom Search Engine to do this using REST API, but when put any URL with different parameters like cx, api key, query, scope. I get always the same error:
Your client does not have permission to get URL /search?q=socer&hl=en&start=10&num=10&output=xml&client=950599431012-4mdbg8eqvb30cf6hamamq8sfihn71qku.apps.googleusercontent.com&cx=006664130785464139277:u_p0bwcuncc from this server. (Client IP address: 105.190.4.82)
If there are other solution for my prob please show it to me.
Because 'Firebase' sanctioned some country like(Iran) this error responds to users.
Seems like your IP is blocked by Google.
Using vpn or a proxy should solve the problem.
I had this error when clicking on the Trigger URL of a Google Cloud Function, this answer on Server Fault solved the Error: Forbidden Your client does not have permission to get URL /MY_CLOUD_FUNCTION_NAME from this server cloud function.
It says that you need to
manually add the Cloud Functions Invoker permission to the allUsers
user in the Cloud Functions page in the Google Cloud Console.
Perhaps you also can change roles and permissions in your case to get it run?
In my case I had a vpn extension turned on by mistake in Google Chrome.
Well it's a hit-or-miss situation. Many users have faced this type of issue.
Please try a few solutions from below:
Clearing your browser history.
Try using a tool for cleaning up malwares.
I'm using box API v2 and successfully with OAuth2. I'm successfully getting the access token back, but in order to avoid the "confused deputy problem" I need to have a way of getting the user id that a given access token relates to.
Is there a way of doing this? I'm trying to use the /tokens endpoint without luck. I read that you need to enable that but I can't find how. Even if I managed to enable it, would that help?
Thanks!
the /users/me endpoint will tell you the user id (and other info) associated with the access token that was used to authenticate the request. Documentation here.