Violation detection when upload image to server mysql

I'm trying to make a photo upload feature from mobile to the server, but this is considered a threat by server protection, how to handle this?

and this is my block :

I'm not sure what you mean by "Server protection". Could you elaborate more on where you're encountering the issue? In particular, stack traces or full error messages from logs are most helpful at tracking down the underlying issue.