Skip to main content

Getting error 4002 when calling tags method without a sort parameter

According to the documentation, calling the tags method without a sort parameter should return the recently used tags, since the default sort is by activity.

Instead, I get an error 4002 with the message "The 'sort' query parameter was invalid for this request.".

What is the cause of this problem?

Martin Plante
  • 2.2k
  • 12
  • 4