Hello!When trying to access the PLP through SMT in...
# suitecommerce
m
Hello!When trying to access the PLP through SMT in SCA, I get the message "Internal Error - An error has occurred." This only happens when accessing the PLP inside SMT in the Sandbox. Outside of SMT, the site works fine. Has anyone encountered this issue before, or knows how to debug/fix it?
c
That screams config mismatch as SMT often glitches in sandboxes if the site mapping isn't synced to the SCA bundle or if roles lack SCA preview perms. Outside SMT working fine points to SMT-specific setup. Quick debug: Check SMT > Site Mappings for PLP URL overrides, refresh the bundle, and verify your role has "SuiteCommerce Advanced" access. We've fixed this sandbox quirk before; try recreating the SMT preview.
e
@Mia Li check the network tab on your dev tools browser, it might point you on the endpoint that is throwing the error.
m
@eminero Yes, I noticed the error in the Network tab. Could you please let me know how this can be resolved?
@christianRILECPQ Thank you! Sorry about that — could you please explain in a bit more detail? I'm not sure where to find the Site Mappings section
e
@Mia Li it seems your site has some customizations, I can tell that since the
items?as_of_date
does not seem the native Item API endpoint, neither the
categorynavitems?bread_crumb_fields
you need to find what custom module/extension is calling that endpoint.
s
Those are standard fields. For example,
as_of_date
is a modifier for date effectivity. We don't document them publicly because they are not recommended to be included in customisations
👀 1
As for the error, you will need to click on the request in the dev tools (the one your arrow points to) and read the response text.