cancel
Showing results for 
Search instead for 
Did you mean: 

InboundB2BCustomer Sap Commerce 2205 extension pack 2108

stefaniaZ
Participant
862

Good morning,

I create new integratrion for B2B Customer

When I test it with postman I have this error:

<?xml version="1.0" encoding="UTF-8"?>

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code>not_found</code>

<message xml:lang="en">requested resource does not exist</message>

</error>

and there are not log on this error.

I have this error after i make update running system. Before update the integration working.

Do you any idea for this problem?

If from hac I make this fs

select * from {IntegrationObject} where {code} = 'InboundB2BCustomer'<br>

the system return this record

Thanks

Stefania

View Entire Topic
romitchhabra
Participant

Hi Stefania,

Please try to run the query

select * from {IntegrationObject} where {code} = 'InboundB2BCustomer'

from hac using the SCI user (or the user which you are using for authentication in postman). If it doesn't give the result then the issue is with search restriction.

Generally a Search Restriction like this needs to be added -

INSERT_UPDATE SearchRestriction ; code[unique = true]                           ; name[lang = en]                                        ; query                                                                                                                                                                                                                                       ; principal(UID)       ; restrictedType(code) ; active ; generate
                                ; outboundCategoryVisibility                 ; Outbound Category IO Restriction                   ; ({code}='OutboundCategory' AND EXISTS ( {{ select {ug:PK} from {UserGroup as ug} where {ug:PK} IN (?session.user.groups) and {ug:uid} = 'integrationadmingroup' }} )) OR ({code}!='OutboundCategory')                                 ; integrationusergroup ; IntegrationObject    ; true   ; true    
 
stefaniaZ
Participant
0 Kudos

Hi Romit,

I find the restriction, but I use OAUTH and with client_id I do not make the flexible search.

Stefania

romitchhabra
Participant
0 Kudos

Hi Stefania,

Internally Commerce uses flexible search to find data even if you are not using explicitly.