Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an 500 error when I try to update the users #57

Open
codejamtc opened this issue Oct 11, 2021 · 1 comment
Open

Getting an 500 error when I try to update the users #57

codejamtc opened this issue Oct 11, 2021 · 1 comment
Labels
CQRS CQRS

Comments

@codejamtc
Copy link
Collaborator

bandicam 2021-10-11 12-21-19-006

  • {{URL}}/members/upbeat
curl --location --request PUT 'https://api.topcoder-dev.com/v5/members/upbeat' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJDb25uZWN0IEFkbWluIiwidS1iYWhuIiwiVG9wY29kZXIgVXNlciIsImFkbWluaXN0cmF0b3IiXSwiaXNzIjoiaHR0cHM6Ly9hcGkudG9wY29kZXItZGV2LmNvbSIsImhhbmRsZSI6IlRDQ29uQWRtaW4iLCJleHAiOjE2MzM5Mjc4OTAsInVzZXJJZCI6IjQwMTU4OTk4IiwiaWF0IjoxNjMzOTI3MjkwLCJlbWFpbCI6InRvcGNvZGVyY29ubmVjdCtBZG1pbkBnbWFpbC5jb20iLCJqdGkiOiJhMjE4ZDEwNC02NGQ1LTQ4YTEtYTIwYS01YThiYjY0NDJhOGEifQ.Up_6GoiupqcIKBrQNWdtp1-4TQujNaURuR2Cj15lN-s' \
--header 'Cookie: tcjwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRvcGNvZGVyY29ubmVjdCtBZG1pbkBnbWFpbC5jb20iLCJuYW1lIjoidG9wY29kZXJjb25uZWN0K0FkbWluQGdtYWlsLmNvbSIsIm5pY2tuYW1lIjoiVENDb25BZG1pbiIsInBpY3R1cmUiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9kYmQ3ZmI2ZmJiNTU5MjRiZjczNjIyMGY3OTc4ZGMyMj9zPTQ4MCZyPXBnJmQ9aHR0cHMlM0ElMkYlMkZjZG4uYXV0aDAuY29tJTJGYXZhdGFycyUyRnRvLnBuZyIsInJvbGVzIjpbIkNvbm5lY3QgQWRtaW4iLCJ1LWJhaG4iLCJUb3Bjb2RlciBVc2VyIiwiYWRtaW5pc3RyYXRvciJdLCJhcHBfbWV0YWRhdGEiOnsiYXV0aG9yaXphdGlvbiI6eyJncm91cHMiOltdfX0sImF1dGhvcml6YXRpb24iOnsiZ3JvdXBzIjpbXX0sImdyb3VwcyI6W10sImNsaWVudElEIjoiSkZEbzdITWtmMHEyQ2tWRkhvankzekhXYWZ6aXByaFQiLCJjcmVhdGVkX2F0IjoiMjAxOS0xMS0yNlQxMTozNjozOC41NDFaIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlkZW50aXRpZXMiOlt7InVzZXJfaWQiOiI0MDE1ODk5OCIsInByb3ZpZGVyIjoiYXV0aDAiLCJjb25uZWN0aW9uIjoiVEMtVXNlci1EYXRhYmFzZSIsImlzU29jaWFsIjpmYWxzZX1dLCJ1cGRhdGVkX2F0IjoiMjAyMS0xMC0xMVQwNDo0MToyNS4yMThaIiwidXNlcl9pZCI6ImF1dGgwfDQwMTU4OTk4IiwidXNlcl9tZXRhZGF0YSI6e30sImlzcyI6Imh0dHBzOi8vdG9wY29kZXItZGV2LmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw0MDE1ODk5OCIsImF1ZCI6IkpGRG83SE1rZjBxMkNrVkZIb2p5M3pIV2FmemlwcmhUIiwiaWF0IjoxNjMzOTI3Mjg3LCJleHAiOjE5OTM5MjcyODd9.eVJOHn4NzfZSTp4zjK3OTTgeMT_e_uvXWfVJCX5O6L4; tcsso=40158998|2e441adcac90b6a7f8a523d68d16e6a976cfae87d0938e78b806190b14791' \
--data-raw '{
    "tracks": [
        "DESIGN",
        "DEVELOP"
    ],
    "status": "ACTIVE",
    "addresses": [
        {
            "zip": "560110",
            "streetAddr1": "GM INFINITE ECITY TOWN",
            "city": "Bangalore",
            "stateCode": "Karnataka",
            "type": "HOME"
        }
    ],
    "email": "[email protected]",
    "firstName": "Atif Ali",
    "photoURL": "https://topcoder-dev-media.s3.amazonaws.com/member/profile/upbeat-1575621848253.png",
    "competitionCountryCode": "IRL",
    "description": "What goes around comes around",
    "homeCountryCode": "IRL"
}'
@codejamtc
Copy link
Collaborator Author

image
image
image
image

@lakshmiathreya lakshmiathreya added the CQRS CQRS label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CQRS CQRS
Projects
None yet
Development

No branches or pull requests

2 participants