Help! WordPress slug not working

I want to use the wordpress slug as the ID, but I get the error “Invalid parameter: slug” and the ID won’t be added.
What could be the reason?
I tried adding “data” to the slug and it worked fine.

Hi there, maybe it’s because the Wordpress by itself generates slug.
“WordPress automatically assigns slugs to posts and pages according to permalink settings when users publish them.”

Try to update permalink instead of slug, and then watch in Wordpress.

I was able to solve the problem. Thank you.

But there is another problem.

Even though I entered the tags in list format, it says “Invalid parameter: tags.” Do you know the reason?

The category also shows as an invalid parameter.
I don’t know why…

I am not used Wordpress, but used woocommerce. So I’m don’t know either. If it possible share your workflow or give some pictures.

Thank you for checking.
I’ve attached the Google Drive link for the workflow.

I saw it. Does your category name and name what AI gives to you are same?
And best approach is first make a http call to your one existing post. See all the parameters, draft the slug, categories, and tags. I saw some articles, there was saying that need to use ID rather than name. Try it.

Thank you. I’ll give it a try! I’ll contact you if I have any questions.