I am currently working with the GoodData APIs and ...
# gooddata-cloud
t
I am currently working with the GoodData APIs and encountered an issue when attempting to access an endpoint. Despite providing the correct API endpoint and a valid bearer token in Postman, I am receiving a "404 Not Found" error upon making the request. Here are the details: - API Endpoint: https://www.gooddata.com/api/v1/layout/users I have already double-checked the endpoint for accuracy and ensured that the bearer token is valid. Could you kindly assist in identifying the cause of the issue? Any guidance or troubleshooting steps would be much appreciated. Attached: Screenshot of Postman testing.
j
Hi Tejas, For the API endpoint - instead of
<https://www.gooddata.com>
, you need to use your hostname. The actual URL where you log into your Cloud environment.
Also, please be careful with revealing your Bearer token. I would suggest you to redact it or delete the picture.
t
Hi, @Julius Kos Although I am now getting 200 OK response. But I am also getting response as content_type HTML: <body><noscript>You need to enable JavaScript to run this app.</noscript> <div id="root" class="root-panel"></div>
👀 1
j
Hi Tejas, this might indicate some issue with authentication. Are you sure that you are using correct API token? Does it work for other calls? If needed, feel free to create a new API token and try to use it for your call.