I am working on a script to import my collection from excel(csv) to numista. I have been able to access the api and get the type codes for a coin so I now want to add it to my collection.
I have obtained an access token using: oauth_token?grant_type=client_credentials&scope=edit_collection
This returns:
[access_token] => TOKEN
[token_type] => bearer
[expires_in] => 7200
[user_id] => MY_USER
calling: /v3/users/ MY_USER/collected_items?&type=19081]
with these headers:
[authorization: Bearer TOKEN]
[numista-api-key: MY_API_KEY]
gives me the error message: "User authentication invalid or missing"
Is anyone able to give any guidance on what the problem is or how to diagnose further?
Thanks
Pat