Not able to generate access token using Referece Token - 02289277

Forum for users and developers of Bullhorn's new REST API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Not able to generate access token using Referece Token - 02289277

Postby senthur123 » Wed Jul 13, 2016 2:01 am

Hi Team,
Am facing following Response in REST API call. Could you please provide idea

#1. why this message come?
#2. How to Resolve this?



{
"error" : "invalid_grant",
"error_description" : "Invalid, expired, or revoked refresh token."
}
--
Thanks
Senthur Pandi.S

lokuber
User
Posts: 33
Joined: Wed Jul 20, 2016 5:20 am

Re: Not able to generate access token using Referece Token - 02289277

Postby lokuber » Wed Jul 20, 2016 7:09 am

How are you trying to connect ?

dratcliff
User
Posts: 4
Joined: Wed Jan 13, 2016 4:37 pm

Re: Not able to generate access token using Referece Token - 02289277

Postby dratcliff » Wed Jul 20, 2016 10:40 am

Hello senthur123,

This message usually happens when the authentication call fails to complete correctly.

Was a username/password changed at all for the API user that would require a new OAUTH session?

You'll want to be using only the latest refresh token. You can use this call to get new access and refresh tokens:

https://auth.bullhornstaffing.com/oauth ... esh_token={refresh_token}&client_id={client_id}&client_secret={client_secret}

Do you have any conflicting OAUTH calls? This can cause refresh tokens to become expired.

If these do not resolve your error please let me know.

Thank you, Dratcliff

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Re: Not able to generate access token using Referece Token - 02289277

Postby senthur123 » Mon Jul 25, 2016 6:56 am

Thanks for the Reply.


But am not changing Username/Password. this response getting only few times.
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

How to Pass Assign To value in REST API ( while create Task )

Postby senthur123 » Mon Nov 28, 2016 9:19 am

Hi Team,

Am unable to pass Assign To value while create Task via the PHP REST API. I need help for this.


{propertyName: "childTaskOwners", severity: "WARNING", type: "ATTEMPT_TO_SET_TO_MANY"}
--
Thanks
Senthur Pandi.S

dfuller
User
Posts: 21
Joined: Tue May 03, 2016 1:47 pm

Re: Not able to generate access token using Referece Token - 02289277

Postby dfuller » Mon Nov 28, 2016 12:29 pm

Hi Senthur,

I'm Dan with Bullhorn Support & I'll be assisting you on this issue. Typically you will get this message because you are attempting to do a 'to many' association which works a bit differently from a normal field update.

Are you able to provide me with the raw REST call that you are making when getting this result?

Warm regards,
Dan
Dan Fuller | Enterprise Support Analyst

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Re: How to Pass Assign To value in REST API ( while create Task )

Postby senthur123 » Tue Nov 29, 2016 12:59 am

Thanks Dan,

Here is the REST API Details

Request :

candidate:{id: "276"}
childTaskOwners:"542, 287"
clientContact:{id: "410"}
dateBegin:1480026563000
description:""
Notes : <br>Direction : outbound<br>Duration ( hh:mm:ss ) :00:00:00<br>"
jobOrder:{id: "4"}
lead:{id: "89"}
opportunity:{id: "7"}
placement:{id: "2"}
subject:""


Response :

changeType:"UPDATE"
changedEntityId:13365
changedEntityType:"Task"

[{propertyName: "childTaskOwners", severity: "WARNING", type: "ATTEMPT_TO_SET_TO_MANY"}]
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Re: How to Pass Assign To value in REST API ( while create Task )

Postby senthur123 » Thu Dec 01, 2016 1:29 am

Team,

Can You Please provide structure for Sending "To_many" Type fields in REST API Call.
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

To_many_association Isuue while making Appointment Create API call

Postby senthur123 » Thu Dec 01, 2016 8:46 am

Hi Team,

Am Getting Warning Message while making REST POST method in Bullhorn. Could you please assist me for this.

Sample URL :

https://rest2.bullhornstaffing.com/rest ... en=........

Sample Request:

{"guests":[{"id":"89"}],"location":"Senthur","clientContactReference":{"id":"280"},"candidateReference":{"id":"291"},"notificationMinutes":"5","communicationMethod":"Onsite Appointment","dateBegin":1480482900000,"dateEnd":1480483800000,"type":"Meeting","isPrivate":true,"lead":{"id":"255"},"placement":{"id":"2"},"jobOrder":{"id":"4"},"opportunity":{"id":"7"},"subject":"","description":"Notes : <br>Direction : outbound<br>Duration ( hh:mm:ss ) :00:00:00<br>","owner":{"id":12}}


Sample Response:


{changedEntityType: "Appointment", changedEntityId: 14021, changeType: "INSERT",…}

[{propertyName: "guests", severity: "WARNING", type: "ATTEMPT_TO_SET_TO_MANY"}]
Last edited by senthur123 on Thu Dec 01, 2016 10:35 pm, edited 1 time in total.
--
Thanks
Senthur Pandi.S

lokuber
User
Posts: 33
Joined: Wed Jul 20, 2016 5:20 am

Re: Not able to generate access token using Referece Token - 02289277

Postby lokuber » Thu Dec 01, 2016 12:57 pm

Be careful, don't post your BhRestToken here :wink:

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Re: Not able to generate access token using Referece Token - 02289277

Postby senthur123 » Wed Dec 07, 2016 8:45 am

Team,

Any words on this
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Re: Not able to generate access token using Referece Token - 02289277

Postby senthur123 » Thu Dec 08, 2016 1:40 am

Dan,

Could you please provide Sample Structure for this type of POST param.
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Unable to pull all data from bullhorn CRM through REST API call

Postby senthur123 » Tue Feb 21, 2017 8:35 am

Hi Team,
While fetch all corporate-user using following bullhorn API, we unable to get all corporate-users. some are missing which is actually exist in bullhorn CRM

Here is API : https://rest2.bullhornstaffing.com/rest ... tToken=....
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Re: Unable to pull all data from bullhorn CRM through REST API call

Postby senthur123 » Fri Mar 10, 2017 2:51 am

Team,

Any words on this?
--
Thanks
Senthur Pandi.S

vaiybora
User
Posts: 1
Joined: Tue May 16, 2017 11:06 pm

Re: Not able to generate access token using Referece Token - 02289277

Postby vaiybora » Wed May 17, 2017 12:48 am

topic is good.
if you want to play game online casino please click on this post.thank you.
เล่นบาคาร่า
บา คา ร่า มือ ถือ


Return to “REST API”

Who is online

Users browsing this forum: No registered users and 2 guests

cron