CLI "library search" failing with access token invalid

Trying to install the MCP CAN library and both the install and the search seems to be expecting a token. I created a user token with the token create command. Is there a different token required? Is there a step required to make the CLI use that token?

PS particle.io\blinky> particle library search mcp25x
HTTP error 401 from https://api.particle.io/v1/libraries?filter=mcp25x - The access token provided is invalid.

I figured it out. I needed to logout and log back in using the “particle setup” command.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.