How to fix an offline AMS

Try to power cycle your printer or reconnect the connectors on the cables of your attached AMS to the printer.

Here’s the link to check AMS power on failure - AMS power on failure | Bambu Lab Wiki

Check pin and connection.