Question
I received an authentication (401) error when using your API.
Answer
Possible errors:
- Incorrect credentials (API key, project ID, etc.)
- Incorrect timestamp
- Our platform only accepts seconds, not milliseconds!
- Check your server time (most common cause of authentication error)
- Miscalculated dev_hash--please use formula md5(:unix_timestamp + :api_secret)
- If using shell script commands:
dev_hash=$(echo -n $timestamp$api_secret | md5)
If issue still persist, please contact support with the API header and call:
https://platform.api.onesky.io/1/projects/ :project_id /translations?
locale=en&
source_file_name=Localizable.strings&
api_key= :api_key &
timestamp= :unix_timestamp &
dev_hash=md5(:unix_timestamp + :api_secret)
A more comprehensive documentation of our API authentication method can be found here.
Comments
5 comments
Thanks for that.
TellCulvers
Thanks for the amazing and useful information. Keep it up. I found lot of helpful information from your article.
mcdvoice customer survey
On the "Translation Overview" page, our system will show you the number of total comments along with the number of unread comments for each language. Simply click onto the number to view the related https://testmyspeed.onl/ phrases.
Blooket Join Guide will provide you with all the information about Blooket like how to join Blooket, what the Blooket Code is, and how to use it, etc.
You saved my day, timestamp must be unix timestamp, who would thought. Sometimes is good to use brains :) thanks, me & my brains
Please sign in to leave a comment.