Yes I inserted the api key in config.txt. In the program I changed the SenderId with the value of the Project Number, because I could not register with the ProjectID.
The Database contains name "cac".
But even using the SenderId with Projectid the error is the same.
Now is working. I think the problem was in ProjectId to SenderId, the tutorial is asked to be informed the project id, but should be informed the project number.
Example: My project id is clear -xxxxxx and my project number is 738xxxxxxx.