Question:
Why am I receiving "message": "Forbidden - Your API key don't have privileges to data type"?
Answer:
This occurs on WebSocket whenever a certain data type is being accessed that is not included in your current subscription tier.
Example:
{
"type": "hello",
"apikey": "73034021-SAMPLE-STARTUP-KEY",
"heartbeat": false,
"subscribe_data_type": ["quote"]
}
You will receive:
{
"message": "Forbidden - Your API key don't have privileges to data type 'quote'.",
"type": "error"
}
This is because the Quote data type is not available for the Startup Subscription via WebSocket.
If you'd like to upgrade your account, submit a request here: https://support.coinapi.io/hc/en-us/requests/new
Comments
0 comments
Please sign in to leave a comment.