question

Upvotes
Accepted
1 0 0 1

Getting Error 500 when trying to connect RKD quotes using Python

I am getting 500 error when I am trying to connect RKD fundamentals endpoint using python, can you help

error
1705569644490.png

code

1705569606358.jpeg

python#technologyrkd-apierror-500
1705569606358.jpeg (26.5 KiB)
1705569644490.png (8.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @parakh.singh ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

@parakh.singh

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@parakh.singh

Thank you for reaching out to us.

The headers in the request must be the followings.

  • Content-type = application/json
  • X-Trkd-Auth-ApplicationID = Application ID
  • X-Trkd-Auth-Token = service Token
        headers = {
            "X-Trkd-Auth-Token": self.get_access_token(authorization),
            "X-Trkd-Auth-ApplicationID":"rkdapi",
            "Content-Type":"application/json"
        }
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.