Question

Error 400 writing to AGOL, character problems

  • 5 April 2024
  • 2 replies
  • 23 views

Badge

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

Userlevel 6
Badge +33

Can you share the logfile?

Badge +6

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. 

 

Reply