how can i fetch api from openweathermap - api

"{"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."}"
I'm unable to fetch the api from open weather map, please what can be done
got an api key from get weather, and inputted it in my code, but it keeps throwing the aforementioned error message

Related

How do I redeem a domain with GoDaddy's API?

I have a subaccount that has a domain in the "redemption" state after it expired, and I would like to "redeem" it so I can renew it. From looking in the API docs, it is only available in the v2 API, and I was able to get started in the v2 API with some help. However, even with the correct UUIDv4 customer ID for the domain, I get the error: { "code": "ERROR_INTERNAL", "message": "Internal Server Error"}
The POST body is not labelled as required in the docs, but it is required. To get details on each of the fields, you need to click on the button (which is easy to miss) that switches between "Example Value" and "Model" (screenshot)

I get error 400 when sending data to my API on flutter

when trying to send data to my Api i get error 400 with the following message :
{"errors":{"email":["Enter a valid email address."]}}
But when I introduce the same data manually directly on the API it works fine, what problem could I have?

Google consumer surveys - retrieve results via API

I am trying to retrieve the results of a completed Google survey. Using this url/resource per the google docs: I get the same error when attempting through the Google playground.
Get: https://www.googleapis.com/consumersurveys/v2/surveys/{my surveyurlID}/results.
I get the following error:
"domain": "global",
"reason": "INVALID_VALUE",
"message": "Invalid Value supplied to API:
Authentication token is same as used to get the survey meta data ( which works).
Not sure what value is invalid. Any help appreciated.
Unfortunately, the "try it now" widget doesn't support media downloads and we currently only provide the results as an excel file.
In order to get the results you'll need to specify a media type in your request. You can do so with the following endpoint:
GET https://www.googleapis.com/consumersurveys/v2/surveys/survey_id/results?alt=media
I would recommend using an OAuth 2 library to authenticate and then accessing the above endpoint.
We'll work on improving the documentation and clarifying this.
Thanks for bringing this to our attention.

Unable to search media on the instagram API

I've been trying to use the "search" function of the media endpoint on the instagram API and it just answers a 500 internal error with the message "Oops, an error occurred.".
Here's the request I send to the API:
https://api.instagram.com/v1/media/search?lat=32.7157&lng=-117.165&distance=2000&access_token=xxx
I tried changing the distance, the latitude and longitude and choose another access_token, none of these changed a thing. Is it a problem with the current version of the API?

InvalidSearchIdentifierException on using the yodlee testdrive

I have just login to Yodlee platform and exploring the API, I have gone through the quick start and test drive, now I'm getting the InvalidSearchIdentifierException when I'm just using default values provided by test drive sample app. The error shown is
{
"errorOccurred": "true",
"exceptionType": "com.yodlee.core.transactionsearch.exceptions.InvalidSearchIdentifierException",
"referenceCode": "_47ee0b3c-ea92-4a7a-9ba7-0a02bad49d47",
"message": "Invalid argument value: com.yodlee.core.transactionsearch.TransactionSearchIdentifier#21d77397"
}
but according to the documentaion the search identifier is 192168210225-1377612242609--1002083317-TX_SEARCH mentioned in link
please anybody tell me why I'm getting this error
anyway testdrive app is here
You are using getUserTransactions API, so I assume you want to get user's transactions. You should be using excuteUserSearchRequest API to get the user's transactions, getUserTransactions API should be used when you user has more than 500 transactions as excuteUserSearchRequest API returns transactions in batches of 500. For more details refer this.