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
1 comment
Thanks for that.
TellCulvers
Please sign in to leave a comment.