Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
No Caliper API usage token found, request a CaliperAPI:UsageToken:<Name> scope within the JWT. What should I set my usage token to?

I'm able to get my access token but I did not specify CaliperAPI:UsageToken:<??>. What should I specify it as? If I set ?? to TestAggregator or Q2TESTACCOUNT it gives me "error_description": "This client application is not allowed to use the specified scope 'CaliperAPI:UsageToken:Q2TESTACCOUNT'."

This is the scope I use when getting my token

CaliperAPI:Aggregator:GetAccountList CaliperAPI:Aggregator:GetHistory CaliperAPI:GetAccountHistory CaliperAPI:GetAccountList CaliperAPI:GetGroups

Screenshot 2023-06-02 at 12.01.51 PM.png

Posted 3 years ago
Votes Newest

Answers


Hi Draden,

CaliperAPI:UsageToken:TESTACCOUNT is specific to q2 users. The CaliperAPI:UsageToken:finitloyalty scope had not been created, but it should now appear on your list of scopes. Please update your application and test again. Let me know if you run into issues with this.

Thanks,

Solène

0

@<1455287096196468736|Solene Sossah> Tried that, but getting "error_description": "This client application is not allowed to use the specified scope 'CaliperAPI:UsageToken:finitloyalty'."

— Draden Gaffney   3 years ago
0

I checked your application and it looks like the finitloyalty usage token had not been enabled. In order for the request to go through, the scopes must be updated in the application before requesting for an access token. I have updated your application for you.

For more information, please visit how to call V2. It will provide a video tutorial on how to make a get groups call.

Please reach out if you have additional questions

-Solène

— Solene Sossah   3 years ago
134 Views
1 Answer
3 years ago
3 years ago