function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shaijan ThomasShaijan Thomas 

Rest API Version Issue.

Hi 

I tried follwong scenario but it gives error. Please help....
1. /services/data/v33.0/sobjects/Account/0019000001F3v4r - Workbench gives error "The requested resource does not exist"
2. /services/data/v32.0/sobjects/Account/0019000001F3v4r - Workbench returned currect message

1. curl https://ap1.salesforce.com/services/data/v33.0/sobjects/Account/0019000001F3v4r -H "Authorization: Bearer 00D90000000dTd2\!AQEAQKYSV6Wnk0VPIUSLSnJuUihObStiCjL3z3dv1dh_JKVI5sF5_vQyg0VAulemYDYSncDUlVV2eiUMCrJ.ERFYjvsDqUzN":- Gives error "The requested resource does not exist"
2. curl https://ap1.salesforce.com/services/data/v32.0/sobjects/Account/0019000001F3v4r -H "Authorization: Bearer 00D90000000dTd2\!AQEAQKYSV6Wnk0VPIUSLSnJuUihObStiCjL3z3dv1dh_JKVI5sF5_vQyg0VAulemYDYSncDUlVV2eiUMCrJ.ERFYjvsDqUzN" : - Gives invalid session ID

Please help me on this issue
Thanks
Shaijan Thomas
Best Answer chosen by Shaijan Thomas
Shaijan ThomasShaijan Thomas
HI
Issue resolved

curl https://ap1.salesforce.com/services/data/v32.0/sobjects/Account/0019000001F3v4r -H "Authorization: Bearer 00D90000000dTd2\!AQEAQKYSV6Wnk0VPIUSLSnJuUihObStiCjL3z3dv1dh_JKVI5sF5_vQyg0VAulemYDYSncDUlVV2eiUMCrJ.ERFYjvsDqUzN"
Removed Org id and its working fine
Thanks
Shaijan Thomas