I think you need to URL encode self.project_uri (if a project has strange characters) ... might worth testing and trying it out