Skip to main content
Question

set custom header on 'representations' call does not work

  • May 22, 2025
  • 1 reply
  • 8 views

Forum|alt.badge.img

Adding a custom header to the client to ask for only the "extracted_text" representation does not get honored.

Using the box node SDK.  See code below, the proper code block to add the header is executed

 

BOX1_Ie1cCKVLkpNpFu__z6TI7w.png

 

but the call shows all representations and does not reflect the custom header set:

BOX1_K4wnTOoECqY-sMqTj0MICg.png

 

 

 

1 reply

Forum|alt.badge.img

Disregard; I obviously was clearing out the header too soon.

And the header itself needs to be in square brackets.