Skip to main content
Question

Error 400 writing to AGOL, character problems

  • April 5, 2024
  • 2 replies
  • 84 views

ana.villa
Participant
Forum|alt.badge.img

Hello... I’m new here, and I have a basic question. I’m trying to update a hosted feature layer in AGOL, but I have a 400 error about HTML. I check my attribute table, and I have one attribute with notes (string), and the character that I have a problem with is <, but I cannot change it because I need the information. So, I cannot use the text encoder or change the character. Can anyone give me an idea of what I can do?

 

 

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

Can you share the logfile?


frro
Contributor
Forum|alt.badge.img+17
  • Contributor
  • April 5, 2024

If your data contains invalid characters according to HTML - like <, >, & etc. you need to HTML-encode the data. Easiest way to do this is the TextEncoder transformer, and encode your data using Encoding Type HTML.