Must have scope DEAL_LINE_ITEM_READ

oauth

#1

I'm getting this error as I list Line Items. This was authenticated via an hapikey.

{"status":"error","message":"Must have scope DEAL_LINE_ITEM_READ","correlationId":"d2165db2-5793-4c52-a4de-7d1df2c151a8","requestId":"24068fba164296d62eb79bf7b8bdeabb"}

Looks like it's an issue on your side that relates to these tickets, yes?



#2

Hi @liz,

Possibly, but that isn't necessarily related. Can you give me your Hub ID, and the request you're trying to make?


#3

@Derek_Gervais
Hub ID: 4566744
curl -X GET https://api.hubapi.com/crm-objects/v1/objects/line_items/paged?hapikey=<HAPI_KEY>

Also, do you mind replying and adding our test portal the access for Products API? Here's the link: How to access the Products API to create products

The thread has accumulated with several responses awaiting your action. Thanks.


#4

Hi @liz,

You should be all set; it looks like it was related to the same scoping issue mentioned in that other thread. The test portal in question has access to Sales Pro (and by extension, line items).


#5

Hey Derek,

Is it possible to implement ecomm bridge without sales pro (access to products, line items seems dependant on it)

Nick


#6

Hi @NickMontagu,

It is possible to implement an Ecommerce Bridge API without Sales Pro; the Ecommerce Bridge API technically only requires the integration-sync scope. The CRUD methods of the Products API can only be accessed by a portal with Sales Pro, but an integration with the integration-sync scope can create products by sending sync messages.